package com.zygh.lz.entity.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;


@Data
@ApiModel(value = "EquipageVO", description = "")
public class EquipageVO implements Serializable {
    @ApiModelProperty(value = "主键")
    private Integer id;

    @ApiModelProperty(value = "父id")
    private String parentId;

    @ApiModelProperty(value = "父名称")
    private String parentName;

    @ApiModelProperty(value = "设备id")
    private String gpsid;

    @ApiModelProperty(value = "经度：例如：113.68405414325689")
    private String longitude;

    @ApiModelProperty(value = "纬度：例如：34.80816417305106")
    private String latitude;

    @ApiModelProperty(value = "设备类型")
    private String type;

    @ApiModelProperty(value = "设备类型名称 统一大类")
    private String typeName;

    @ApiModelProperty(value = "类型编号")
    private String typeCode;

    @ApiModelProperty(value = "标签")
    private String carNo;

    @ApiModelProperty(value = "警号")
    private String warningSignal;

    @ApiModelProperty(value = "手机号")
    private String phoneNumber;

    @ApiModelProperty(value = "警察姓名")
    private String policeName;

    @ApiModelProperty(value = "部门")
    private String deptName;

    @ApiModelProperty(value = "呼号")
    private String remark2;

    @ApiModelProperty(value = "坐标上传时间")
    private String uploadTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @ApiModelProperty(value = "创建时间")
    private Date creatTime;

    @ApiModelProperty(value = "区域")
    private String district;

    @ApiModelProperty(value = "设备二维码")
    private String qrcode;

    @ApiModelProperty(value = "是否在线 1在线 0离线")
    private Integer onlineStatus;

    private static final long serialVersionUID = 1L;
}
